package com.ming.springcloud.consumer.hystric;

import com.ming.springcloud.consumer.service.UserService;
import com.ming.springcloud.consumer.vo.Student;
import com.ming.springcloud.consumer.vo.User;
import org.springframework.stereotype.Component;

@Component
public class UserServiceHystric implements UserService {

    @Override
    public String login(String name, User user) {
        return "服务不可用 " + name;
    }
}
